package com.sunny.fetch.pojo;

import java.util.ArrayList;
import java.util.List;

public class FTeleplayRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FTeleplayRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTidIsNull() {
            addCriterion("tid is null");
            return (Criteria) this;
        }

        public Criteria andTidIsNotNull() {
            addCriterion("tid is not null");
            return (Criteria) this;
        }

        public Criteria andTidEqualTo(Long value) {
            addCriterion("tid =", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotEqualTo(Long value) {
            addCriterion("tid <>", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThan(Long value) {
            addCriterion("tid >", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThanOrEqualTo(Long value) {
            addCriterion("tid >=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThan(Long value) {
            addCriterion("tid <", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThanOrEqualTo(Long value) {
            addCriterion("tid <=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidIn(List<Long> values) {
            addCriterion("tid in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotIn(List<Long> values) {
            addCriterion("tid not in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidBetween(Long value1, Long value2) {
            addCriterion("tid between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotBetween(Long value1, Long value2) {
            addCriterion("tid not between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andClassifyIsNull() {
            addCriterion("classify is null");
            return (Criteria) this;
        }

        public Criteria andClassifyIsNotNull() {
            addCriterion("classify is not null");
            return (Criteria) this;
        }

        public Criteria andClassifyEqualTo(String value) {
            addCriterion("classify =", value, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyNotEqualTo(String value) {
            addCriterion("classify <>", value, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyGreaterThan(String value) {
            addCriterion("classify >", value, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyGreaterThanOrEqualTo(String value) {
            addCriterion("classify >=", value, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyLessThan(String value) {
            addCriterion("classify <", value, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyLessThanOrEqualTo(String value) {
            addCriterion("classify <=", value, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyLike(String value) {
            addCriterion("classify like", value, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyNotLike(String value) {
            addCriterion("classify not like", value, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyIn(List<String> values) {
            addCriterion("classify in", values, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyNotIn(List<String> values) {
            addCriterion("classify not in", values, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyBetween(String value1, String value2) {
            addCriterion("classify between", value1, value2, "classify");
            return (Criteria) this;
        }

        public Criteria andClassifyNotBetween(String value1, String value2) {
            addCriterion("classify not between", value1, value2, "classify");
            return (Criteria) this;
        }

        public Criteria andTypesIsNull() {
            addCriterion("types is null");
            return (Criteria) this;
        }

        public Criteria andTypesIsNotNull() {
            addCriterion("types is not null");
            return (Criteria) this;
        }

        public Criteria andTypesEqualTo(String value) {
            addCriterion("types =", value, "types");
            return (Criteria) this;
        }

        public Criteria andTypesNotEqualTo(String value) {
            addCriterion("types <>", value, "types");
            return (Criteria) this;
        }

        public Criteria andTypesGreaterThan(String value) {
            addCriterion("types >", value, "types");
            return (Criteria) this;
        }

        public Criteria andTypesGreaterThanOrEqualTo(String value) {
            addCriterion("types >=", value, "types");
            return (Criteria) this;
        }

        public Criteria andTypesLessThan(String value) {
            addCriterion("types <", value, "types");
            return (Criteria) this;
        }

        public Criteria andTypesLessThanOrEqualTo(String value) {
            addCriterion("types <=", value, "types");
            return (Criteria) this;
        }

        public Criteria andTypesLike(String value) {
            addCriterion("types like", value, "types");
            return (Criteria) this;
        }

        public Criteria andTypesNotLike(String value) {
            addCriterion("types not like", value, "types");
            return (Criteria) this;
        }

        public Criteria andTypesIn(List<String> values) {
            addCriterion("types in", values, "types");
            return (Criteria) this;
        }

        public Criteria andTypesNotIn(List<String> values) {
            addCriterion("types not in", values, "types");
            return (Criteria) this;
        }

        public Criteria andTypesBetween(String value1, String value2) {
            addCriterion("types between", value1, value2, "types");
            return (Criteria) this;
        }

        public Criteria andTypesNotBetween(String value1, String value2) {
            addCriterion("types not between", value1, value2, "types");
            return (Criteria) this;
        }

        public Criteria andOrgIsNull() {
            addCriterion("org is null");
            return (Criteria) this;
        }

        public Criteria andOrgIsNotNull() {
            addCriterion("org is not null");
            return (Criteria) this;
        }

        public Criteria andOrgEqualTo(String value) {
            addCriterion("org =", value, "org");
            return (Criteria) this;
        }

        public Criteria andOrgNotEqualTo(String value) {
            addCriterion("org <>", value, "org");
            return (Criteria) this;
        }

        public Criteria andOrgGreaterThan(String value) {
            addCriterion("org >", value, "org");
            return (Criteria) this;
        }

        public Criteria andOrgGreaterThanOrEqualTo(String value) {
            addCriterion("org >=", value, "org");
            return (Criteria) this;
        }

        public Criteria andOrgLessThan(String value) {
            addCriterion("org <", value, "org");
            return (Criteria) this;
        }

        public Criteria andOrgLessThanOrEqualTo(String value) {
            addCriterion("org <=", value, "org");
            return (Criteria) this;
        }

        public Criteria andOrgLike(String value) {
            addCriterion("org like", value, "org");
            return (Criteria) this;
        }

        public Criteria andOrgNotLike(String value) {
            addCriterion("org not like", value, "org");
            return (Criteria) this;
        }

        public Criteria andOrgIn(List<String> values) {
            addCriterion("org in", values, "org");
            return (Criteria) this;
        }

        public Criteria andOrgNotIn(List<String> values) {
            addCriterion("org not in", values, "org");
            return (Criteria) this;
        }

        public Criteria andOrgBetween(String value1, String value2) {
            addCriterion("org between", value1, value2, "org");
            return (Criteria) this;
        }

        public Criteria andOrgNotBetween(String value1, String value2) {
            addCriterion("org not between", value1, value2, "org");
            return (Criteria) this;
        }

        public Criteria andReportDateIsNull() {
            addCriterion("report_date is null");
            return (Criteria) this;
        }

        public Criteria andReportDateIsNotNull() {
            addCriterion("report_date is not null");
            return (Criteria) this;
        }

        public Criteria andReportDateEqualTo(String value) {
            addCriterion("report_date =", value, "reportDate");
            return (Criteria) this;
        }

        public Criteria andReportDateNotEqualTo(String value) {
            addCriterion("report_date <>", value, "reportDate");
            return (Criteria) this;
        }

        public Criteria andReportDateGreaterThan(String value) {
            addCriterion("report_date >", value, "reportDate");
            return (Criteria) this;
        }

        public Criteria andReportDateGreaterThanOrEqualTo(String value) {
            addCriterion("report_date >=", value, "reportDate");
            return (Criteria) this;
        }

        public Criteria andReportDateLessThan(String value) {
            addCriterion("report_date <", value, "reportDate");
            return (Criteria) this;
        }

        public Criteria andReportDateLessThanOrEqualTo(String value) {
            addCriterion("report_date <=", value, "reportDate");
            return (Criteria) this;
        }

        public Criteria andReportDateLike(String value) {
            addCriterion("report_date like", value, "reportDate");
            return (Criteria) this;
        }

        public Criteria andReportDateNotLike(String value) {
            addCriterion("report_date not like", value, "reportDate");
            return (Criteria) this;
        }

        public Criteria andReportDateIn(List<String> values) {
            addCriterion("report_date in", values, "reportDate");
            return (Criteria) this;
        }

        public Criteria andReportDateNotIn(List<String> values) {
            addCriterion("report_date not in", values, "reportDate");
            return (Criteria) this;
        }

        public Criteria andReportDateBetween(String value1, String value2) {
            addCriterion("report_date between", value1, value2, "reportDate");
            return (Criteria) this;
        }

        public Criteria andReportDateNotBetween(String value1, String value2) {
            addCriterion("report_date not between", value1, value2, "reportDate");
            return (Criteria) this;
        }

        public Criteria andLicenseKeyIsNull() {
            addCriterion("license_key is null");
            return (Criteria) this;
        }

        public Criteria andLicenseKeyIsNotNull() {
            addCriterion("license_key is not null");
            return (Criteria) this;
        }

        public Criteria andLicenseKeyEqualTo(String value) {
            addCriterion("license_key =", value, "licenseKey");
            return (Criteria) this;
        }

        public Criteria andLicenseKeyNotEqualTo(String value) {
            addCriterion("license_key <>", value, "licenseKey");
            return (Criteria) this;
        }

        public Criteria andLicenseKeyGreaterThan(String value) {
            addCriterion("license_key >", value, "licenseKey");
            return (Criteria) this;
        }

        public Criteria andLicenseKeyGreaterThanOrEqualTo(String value) {
            addCriterion("license_key >=", value, "licenseKey");
            return (Criteria) this;
        }

        public Criteria andLicenseKeyLessThan(String value) {
            addCriterion("license_key <", value, "licenseKey");
            return (Criteria) this;
        }

        public Criteria andLicenseKeyLessThanOrEqualTo(String value) {
            addCriterion("license_key <=", value, "licenseKey");
            return (Criteria) this;
        }

        public Criteria andLicenseKeyLike(String value) {
            addCriterion("license_key like", value, "licenseKey");
            return (Criteria) this;
        }

        public Criteria andLicenseKeyNotLike(String value) {
            addCriterion("license_key not like", value, "licenseKey");
            return (Criteria) this;
        }

        public Criteria andLicenseKeyIn(List<String> values) {
            addCriterion("license_key in", values, "licenseKey");
            return (Criteria) this;
        }

        public Criteria andLicenseKeyNotIn(List<String> values) {
            addCriterion("license_key not in", values, "licenseKey");
            return (Criteria) this;
        }

        public Criteria andLicenseKeyBetween(String value1, String value2) {
            addCriterion("license_key between", value1, value2, "licenseKey");
            return (Criteria) this;
        }

        public Criteria andLicenseKeyNotBetween(String value1, String value2) {
            addCriterion("license_key not between", value1, value2, "licenseKey");
            return (Criteria) this;
        }

        public Criteria andEpisodesIsNull() {
            addCriterion("episodes is null");
            return (Criteria) this;
        }

        public Criteria andEpisodesIsNotNull() {
            addCriterion("episodes is not null");
            return (Criteria) this;
        }

        public Criteria andEpisodesEqualTo(String value) {
            addCriterion("episodes =", value, "episodes");
            return (Criteria) this;
        }

        public Criteria andEpisodesNotEqualTo(String value) {
            addCriterion("episodes <>", value, "episodes");
            return (Criteria) this;
        }

        public Criteria andEpisodesGreaterThan(String value) {
            addCriterion("episodes >", value, "episodes");
            return (Criteria) this;
        }

        public Criteria andEpisodesGreaterThanOrEqualTo(String value) {
            addCriterion("episodes >=", value, "episodes");
            return (Criteria) this;
        }

        public Criteria andEpisodesLessThan(String value) {
            addCriterion("episodes <", value, "episodes");
            return (Criteria) this;
        }

        public Criteria andEpisodesLessThanOrEqualTo(String value) {
            addCriterion("episodes <=", value, "episodes");
            return (Criteria) this;
        }

        public Criteria andEpisodesLike(String value) {
            addCriterion("episodes like", value, "episodes");
            return (Criteria) this;
        }

        public Criteria andEpisodesNotLike(String value) {
            addCriterion("episodes not like", value, "episodes");
            return (Criteria) this;
        }

        public Criteria andEpisodesIn(List<String> values) {
            addCriterion("episodes in", values, "episodes");
            return (Criteria) this;
        }

        public Criteria andEpisodesNotIn(List<String> values) {
            addCriterion("episodes not in", values, "episodes");
            return (Criteria) this;
        }

        public Criteria andEpisodesBetween(String value1, String value2) {
            addCriterion("episodes between", value1, value2, "episodes");
            return (Criteria) this;
        }

        public Criteria andEpisodesNotBetween(String value1, String value2) {
            addCriterion("episodes not between", value1, value2, "episodes");
            return (Criteria) this;
        }

        public Criteria andShootingDateIsNull() {
            addCriterion("shooting_date is null");
            return (Criteria) this;
        }

        public Criteria andShootingDateIsNotNull() {
            addCriterion("shooting_date is not null");
            return (Criteria) this;
        }

        public Criteria andShootingDateEqualTo(String value) {
            addCriterion("shooting_date =", value, "shootingDate");
            return (Criteria) this;
        }

        public Criteria andShootingDateNotEqualTo(String value) {
            addCriterion("shooting_date <>", value, "shootingDate");
            return (Criteria) this;
        }

        public Criteria andShootingDateGreaterThan(String value) {
            addCriterion("shooting_date >", value, "shootingDate");
            return (Criteria) this;
        }

        public Criteria andShootingDateGreaterThanOrEqualTo(String value) {
            addCriterion("shooting_date >=", value, "shootingDate");
            return (Criteria) this;
        }

        public Criteria andShootingDateLessThan(String value) {
            addCriterion("shooting_date <", value, "shootingDate");
            return (Criteria) this;
        }

        public Criteria andShootingDateLessThanOrEqualTo(String value) {
            addCriterion("shooting_date <=", value, "shootingDate");
            return (Criteria) this;
        }

        public Criteria andShootingDateLike(String value) {
            addCriterion("shooting_date like", value, "shootingDate");
            return (Criteria) this;
        }

        public Criteria andShootingDateNotLike(String value) {
            addCriterion("shooting_date not like", value, "shootingDate");
            return (Criteria) this;
        }

        public Criteria andShootingDateIn(List<String> values) {
            addCriterion("shooting_date in", values, "shootingDate");
            return (Criteria) this;
        }

        public Criteria andShootingDateNotIn(List<String> values) {
            addCriterion("shooting_date not in", values, "shootingDate");
            return (Criteria) this;
        }

        public Criteria andShootingDateBetween(String value1, String value2) {
            addCriterion("shooting_date between", value1, value2, "shootingDate");
            return (Criteria) this;
        }

        public Criteria andShootingDateNotBetween(String value1, String value2) {
            addCriterion("shooting_date not between", value1, value2, "shootingDate");
            return (Criteria) this;
        }

        public Criteria andProdCycleIsNull() {
            addCriterion("prod_cycle is null");
            return (Criteria) this;
        }

        public Criteria andProdCycleIsNotNull() {
            addCriterion("prod_cycle is not null");
            return (Criteria) this;
        }

        public Criteria andProdCycleEqualTo(String value) {
            addCriterion("prod_cycle =", value, "prodCycle");
            return (Criteria) this;
        }

        public Criteria andProdCycleNotEqualTo(String value) {
            addCriterion("prod_cycle <>", value, "prodCycle");
            return (Criteria) this;
        }

        public Criteria andProdCycleGreaterThan(String value) {
            addCriterion("prod_cycle >", value, "prodCycle");
            return (Criteria) this;
        }

        public Criteria andProdCycleGreaterThanOrEqualTo(String value) {
            addCriterion("prod_cycle >=", value, "prodCycle");
            return (Criteria) this;
        }

        public Criteria andProdCycleLessThan(String value) {
            addCriterion("prod_cycle <", value, "prodCycle");
            return (Criteria) this;
        }

        public Criteria andProdCycleLessThanOrEqualTo(String value) {
            addCriterion("prod_cycle <=", value, "prodCycle");
            return (Criteria) this;
        }

        public Criteria andProdCycleLike(String value) {
            addCriterion("prod_cycle like", value, "prodCycle");
            return (Criteria) this;
        }

        public Criteria andProdCycleNotLike(String value) {
            addCriterion("prod_cycle not like", value, "prodCycle");
            return (Criteria) this;
        }

        public Criteria andProdCycleIn(List<String> values) {
            addCriterion("prod_cycle in", values, "prodCycle");
            return (Criteria) this;
        }

        public Criteria andProdCycleNotIn(List<String> values) {
            addCriterion("prod_cycle not in", values, "prodCycle");
            return (Criteria) this;
        }

        public Criteria andProdCycleBetween(String value1, String value2) {
            addCriterion("prod_cycle between", value1, value2, "prodCycle");
            return (Criteria) this;
        }

        public Criteria andProdCycleNotBetween(String value1, String value2) {
            addCriterion("prod_cycle not between", value1, value2, "prodCycle");
            return (Criteria) this;
        }

        public Criteria andContentIsNull() {
            addCriterion("content is null");
            return (Criteria) this;
        }

        public Criteria andContentIsNotNull() {
            addCriterion("content is not null");
            return (Criteria) this;
        }

        public Criteria andContentEqualTo(String value) {
            addCriterion("content =", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotEqualTo(String value) {
            addCriterion("content <>", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThan(String value) {
            addCriterion("content >", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThanOrEqualTo(String value) {
            addCriterion("content >=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThan(String value) {
            addCriterion("content <", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThanOrEqualTo(String value) {
            addCriterion("content <=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLike(String value) {
            addCriterion("content like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotLike(String value) {
            addCriterion("content not like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentIn(List<String> values) {
            addCriterion("content in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotIn(List<String> values) {
            addCriterion("content not in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentBetween(String value1, String value2) {
            addCriterion("content between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotBetween(String value1, String value2) {
            addCriterion("content not between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andProOpiIsNull() {
            addCriterion("pro_opi is null");
            return (Criteria) this;
        }

        public Criteria andProOpiIsNotNull() {
            addCriterion("pro_opi is not null");
            return (Criteria) this;
        }

        public Criteria andProOpiEqualTo(String value) {
            addCriterion("pro_opi =", value, "proOpi");
            return (Criteria) this;
        }

        public Criteria andProOpiNotEqualTo(String value) {
            addCriterion("pro_opi <>", value, "proOpi");
            return (Criteria) this;
        }

        public Criteria andProOpiGreaterThan(String value) {
            addCriterion("pro_opi >", value, "proOpi");
            return (Criteria) this;
        }

        public Criteria andProOpiGreaterThanOrEqualTo(String value) {
            addCriterion("pro_opi >=", value, "proOpi");
            return (Criteria) this;
        }

        public Criteria andProOpiLessThan(String value) {
            addCriterion("pro_opi <", value, "proOpi");
            return (Criteria) this;
        }

        public Criteria andProOpiLessThanOrEqualTo(String value) {
            addCriterion("pro_opi <=", value, "proOpi");
            return (Criteria) this;
        }

        public Criteria andProOpiLike(String value) {
            addCriterion("pro_opi like", value, "proOpi");
            return (Criteria) this;
        }

        public Criteria andProOpiNotLike(String value) {
            addCriterion("pro_opi not like", value, "proOpi");
            return (Criteria) this;
        }

        public Criteria andProOpiIn(List<String> values) {
            addCriterion("pro_opi in", values, "proOpi");
            return (Criteria) this;
        }

        public Criteria andProOpiNotIn(List<String> values) {
            addCriterion("pro_opi not in", values, "proOpi");
            return (Criteria) this;
        }

        public Criteria andProOpiBetween(String value1, String value2) {
            addCriterion("pro_opi between", value1, value2, "proOpi");
            return (Criteria) this;
        }

        public Criteria andProOpiNotBetween(String value1, String value2) {
            addCriterion("pro_opi not between", value1, value2, "proOpi");
            return (Criteria) this;
        }

        public Criteria andDeptOpiIsNull() {
            addCriterion("dept_opi is null");
            return (Criteria) this;
        }

        public Criteria andDeptOpiIsNotNull() {
            addCriterion("dept_opi is not null");
            return (Criteria) this;
        }

        public Criteria andDeptOpiEqualTo(String value) {
            addCriterion("dept_opi =", value, "deptOpi");
            return (Criteria) this;
        }

        public Criteria andDeptOpiNotEqualTo(String value) {
            addCriterion("dept_opi <>", value, "deptOpi");
            return (Criteria) this;
        }

        public Criteria andDeptOpiGreaterThan(String value) {
            addCriterion("dept_opi >", value, "deptOpi");
            return (Criteria) this;
        }

        public Criteria andDeptOpiGreaterThanOrEqualTo(String value) {
            addCriterion("dept_opi >=", value, "deptOpi");
            return (Criteria) this;
        }

        public Criteria andDeptOpiLessThan(String value) {
            addCriterion("dept_opi <", value, "deptOpi");
            return (Criteria) this;
        }

        public Criteria andDeptOpiLessThanOrEqualTo(String value) {
            addCriterion("dept_opi <=", value, "deptOpi");
            return (Criteria) this;
        }

        public Criteria andDeptOpiLike(String value) {
            addCriterion("dept_opi like", value, "deptOpi");
            return (Criteria) this;
        }

        public Criteria andDeptOpiNotLike(String value) {
            addCriterion("dept_opi not like", value, "deptOpi");
            return (Criteria) this;
        }

        public Criteria andDeptOpiIn(List<String> values) {
            addCriterion("dept_opi in", values, "deptOpi");
            return (Criteria) this;
        }

        public Criteria andDeptOpiNotIn(List<String> values) {
            addCriterion("dept_opi not in", values, "deptOpi");
            return (Criteria) this;
        }

        public Criteria andDeptOpiBetween(String value1, String value2) {
            addCriterion("dept_opi between", value1, value2, "deptOpi");
            return (Criteria) this;
        }

        public Criteria andDeptOpiNotBetween(String value1, String value2) {
            addCriterion("dept_opi not between", value1, value2, "deptOpi");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion("remarks is null");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion("remarks is not null");
            return (Criteria) this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion("remarks =", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion("remarks <>", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion("remarks >", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("remarks >=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion("remarks <", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion("remarks <=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLike(String value) {
            addCriterion("remarks like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotLike(String value) {
            addCriterion("remarks not like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksIn(List<String> values) {
            addCriterion("remarks in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotIn(List<String> values) {
            addCriterion("remarks not in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion("remarks between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion("remarks not between", value1, value2, "remarks");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}